package cn.chencq.moudle.sys.service;

import cn.chencq.moudle.sys.entity.SysUserToken;
import cn.chencq.utils.R;

public interface SysUserTokenService extends BaseService<SysUserToken> {

	SysUserToken queryByUserId(Long userId);

	void logout(Long userId);

	R createToken(Long userId);

	SysUserToken queryByToken(String accessToken);

}
